package com.parenting.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@Accessors(chain = true)
@ApiModel("提交提现密码修改请求参数")
public class AddExtractPasswordRequest implements Serializable {

    @ApiModelProperty(value = "手机号", required = true)
    @NotNull(message = "手机号不能为空")
    private   String phone;

    @ApiModelProperty(value = "新密码", required = true)
    @NotNull(message = "新密码不能为空")
    private  String newExtractPassword;

    @ApiModelProperty(value = "确认密码", required = true)
    @NotNull(message = "确认密码不能为空")
    private  String repExtractPassword;

    @ApiModelProperty(value = "验证码", required = true)
    @NotNull(message = "验证码不能为空")
    private  String code;

}
